package com.example.alipay.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.alipay.entity.Orders;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

public interface OrdersMapper extends BaseMapper<Orders> {

    @Select("SELECT * FROM orders WHERE alipay_no = #{alipayNo}")
    Orders findByAlipayNo(@Param("alipayNo") String alipayNo);

}
